package cn.gson.crm.model.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import cn.gson.crm.model.entity.Student;
import cn.gson.crm.model.entity.WhStudentJourney;

@Mapper
public interface StudentJourneyMapper {

	/**
	 * 根据学生id查询学员历程
	 * @return
	 */
	List<WhStudentJourney> selectJourneylist(Long id);
	
	/**
	 * 查询所有有学员历程的学生selectAllStudent
	 * @return
	 */
	List<Student> selectAllJourneyStudent(Student stu);
	
	/**
	 * 查询所有学生信息
	 * @return
	 */
	List<Student> selectAllStudent();
	
	/**
	 * 添加一条历程中间表记录
	 * @param saveParams
	 */
	void saveOneStudentJourney (Map<String, Object> saveParams);
	
	void deleteJourney (Long id);
}
